Display beatmap state in RankedPlayUserDisplay#37188
Merged
peppy merged 3 commits intoppy:masterfrom Apr 4, 2026
Merged
Conversation
This has gone through a few iterations, and eventually ended up as a simple text percentage display next to the username. I feel that adding another progress bar right next to the big healthbar would make things too cluttered. I considered making the local user fetch download progress data using `BeatmapDownloadTracker` instead of relying on `BeatmapAvailability` in order to get more frequent updates, but that would add a lot of extra complexity for little gain IMO.
Member
|
Feels very hidden, but better than nothing i guess. |
Contributor
Author
peppy
reviewed
Apr 3, 2026
Comment on lines
+177
to
+182
| beatmapState.FadeIn(50); | ||
|
|
||
| switch (availability.State) | ||
| { | ||
| default: | ||
| beatmapState.FadeOut(50); |
Member
There was a problem hiding this comment.
Feels weird to fade in just to fade out.
|
|
||
| case DownloadState.Downloading: | ||
| double progress = Math.Clamp(availability.DownloadProgress ?? 0, 0, 1); | ||
| beatmapState.Text = $"Downloading ({progress:P0})"; |
Member
There was a problem hiding this comment.
probably ellipsis ongoing operations downloading/importing
Contributor
Author
Screencast_20260404_012239.webmI've reworked this to display the state in a pill thing (with it turning into a progress bar for the downloading state), hopefully this will make it feel more noticeable. Let me know if this is something we'd want and I'll push it in. |
Member
peppy
approved these changes
Apr 4, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This has gone through a few iterations, and eventually ended up as a simple text percentage display next to the username. I feel that adding another progress bar right next to the big healthbar would make things too cluttered, and trying to move the beatmap state elsewhere would make it too disconnected from the players that are potentially downloading a beatmap.
I considered making the local user fetch download progress data using
BeatmapDownloadTrackerinstead of relying onBeatmapAvailabilityin order to get more frequent updates, but that would add a lot of extra complexity for little gain IMO.Screencast_20260403_095644.webm